Skip to content

ObservableCollectionExtended.RemoveRange(int, int) method

Defined in

Type: ObservableCollectionExtended Namespace: DynamicData.Binding Assembly: DynamicData.dll

Applies to

net10.0, netstandard2.0

public void RemoveRange(int index, int count)

View source

Summary: Removes a range of elements from the ObservableCollectionExtended.

Parameters

NameTypeDescription
indexintThe zero-based starting index of the range of elements to remove.
countintThe number of elements to remove.

Exceptions

TypeCondition
System.ArgumentOutOfRangeExceptionindex is less than 0.-or-count is less than 0.
System.ArgumentExceptionindex and count do not denote a valid range of elements in the List.